

* OPEN STATA OUTPUT FILE LOG *

   log using "C:\Users\gk57526\Dropbox\Informal & Formal Bargaining (BAA Reforms)\JOP Replication File Materials\Output\execbudinfluence.08-26-2020.SI SECTION 1.ASSESSING POTENTIAL CONFOUNDING PRE BAA EFFECTS.comments.smcl" 


*** SI-0 SECTION: ASSESSING POTENTIAL CONFOUNDING PRE-BAA EFFECTS IN EXECUTIVE BUDGETARY CONSTRAINT AND AGENCY HEAD TENURE ***



 
***  OPEN "EXECUTIVE BUDGETARY INFLUENCE" DATABASE WITH NEWLY CREATED VARIABLES ***
 
use "C:\Users\gk57526\Dropbox\Informal & Formal Bargaining (BAA Reforms)\JOP Replication File Materials\Data\execbudinfluence.08-26-2020.REPORTED MODELS.REV.comments.dta", replace
 
 

*** DECLARE DATABASE AS A PANEL (AGENCY ID * FISCAL YEAR) *** 
 
xtset agenid fyear, yearly


******************************************************************************************************************************************************************************************************************************
******************************************************************************************************************************************************************************************************************************
******************************************************************************************************************************************************************************************************************************
******************************************************************************************************************************************************************************************************************************
******************************************************************************************************************************************************************************************************************************
******************************************************************************************************************************************************************************************************************************



**** GENERATE ALTERNATIVE PLACEBO PSEUDO-INTERVENTION POST-WAR 'FISCAL RETRENCHMENT' BINARY INDICATORS PRE-DATING BAA REFORMS TAKING EFFECT IN FY 1923 **** 

** 1915 PLACEBO PSEUDO-INTERVENTION [DURING WWI WARTIME] **

generate altbaaint1915 = 1 if fyear>=1916
replace altbaaint1915 = 0 if fyear<1916

** 1916 PLACEBO PSEUDO-INTERVENTION [DURING WWI WARTIME] **

generate altbaaint1916 = 1 if fyear>=1917
replace altbaaint1916 = 0 if fyear<1917

** 1917 PLACEBO PSEUDO-INTERVENTION [DURING WWI WARTIME] **

generate altbaaint1917 = 1 if fyear>=1918
replace altbaaint1917 = 0 if fyear<1918

** 1918 PLACEBO PSEUDO-INTERVENTION [DURING WWI WARTIME] **

generate altbaaint1918 = 1 if fyear>=1919
replace altbaaint1918 = 0 if fyear<1919

** 1919 PLACEBO PSEUDO-INTERVENTION [PEACETIME] **

generate altbaaint1919 = 1 if fyear>=1920
replace altbaaint1919 = 0 if fyear<1920
*

** 1920 PLACEBO PSEUDO-INTERVENTION [PEACETIME] **

generate altbaaint1920 = 1 if fyear>=1921
replace altbaaint1920 = 0 if fyear<1921

*
** 1921 PLACEBO PSEUDO-INTERVENTION INTERVENTION [PEACETIME] **

generate altbaaint1921 = 1 if fyear>=1922
replace altbaaint1921 = 0 if fyear<1922
*
*


******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
*****************************************************************************************************************************************************************************************



** NOTE: COMPARE AFOREMENTIONED PLACEBO PSEUDO-INTERVENTION INTERVENTIONS AGAINST 1922 ACTUAL BAA INTERVENTION [FY 1923] CAPTURED BY "BUREAUOFBUDGET" BINARY INDICATOR EMPLOYED IN STATISTICAL ANALYSES **





*** CREATE EFFECTIVE SAMPLE USED TO ESTIMATE ENDOGENEOUS REGIME SWITCHING REGRESSION MODELS [N = 664] ***
 
quietly movestay (congbudchangereg2 l1congbudchangereg2  execbudchangereg2 bureauofbudget ebcreg2baa lnagencyage unifiedpartygovt presadminyear) if agenid!=15, select(regimereg = executiveagency) difficult





***  FIRST, ASSESS WHETHER THE DIFFERENCE IN THE PROPORTION OF 'PROFLIGATE' EXECUTIVE BUDGET PROPOSALS [E > A] TO THE PROPORTION OF 'AUSTERE' EXECUTIVE BUDGET PROPOSALS [E<= A] SHIFTED DOWNWARD PRIOR TO THE BAA REFORMS ***


*** NOTE 1: EVALUATIVE WINDOW: FY 1910 [PAUCITY OF INDEPENDENT AGENCIES PRIOR TO THIS PERIOD] - FY 1923 [1ST YEAR BAA WENT INTO EFFECT] ***
*** NOTE 2: INTERVENTIONS COMMENCE IN 1915 [FYEAR 1916] AND END IN 1922 [FYEAR 1923] ***






*** TABLE SI-1 [SECTION 1: SUPPORTING INFORMATION DOCUMENT]

 

*** WARTIME PLACEBO PSEUDO-INTERVENTION [1915-1918] ***



*** TABLE SI-1 [REGULAR BUDGET: 1915/FY 1916]

prtest regimereg if e(sample) & agenid!=15 & fyear>=1910 & fyear<=1923, by (altbaaint1915)
*
*** TABLE SI-1 [TOTAL BUDGET: 1915/FY 1916]

prtest regimetot if e(sample) & agenid!=15 & fyear>=1910 & fyear<=1923, by (altbaaint1915)
*
*
*
*** TABLE SI-1 [REGULAR BUDGET: 1916/FY 1917]

prtest regimereg if e(sample) & agenid!=15 & fyear>=1910 & fyear<=1923, by (altbaaint1916)
*
*** TABLE SI-1 [TOTAL BUDGET: 1916/FY 1917]

prtest regimetot if e(sample) & agenid!=15 & fyear>=1910 & fyear<=1923, by (altbaaint1916)
*
*
*
*** TABLE SI-1 [REGULAR BUDGET: 1917/FY 1918]

prtest regimereg if e(sample) & agenid!=15 & fyear>=1910 & fyear<=1923, by (altbaaint1917)
*
*** TABLE SI-1 [TOTAL BUDGET: 1917/FY 1918]

prtest regimetot if e(sample) & agenid!=15 & fyear>=1910 & fyear<=1923, by (altbaaint1917)
*
*
*
*** TABLE SI-1 [REGULAR BUDGET: 1918/FY 1919]

prtest regimereg if e(sample) & agenid!=15 & fyear>=1910 & fyear<=1923, by (altbaaint1918)
*
*** TABLE SI-1 [TOTAL BUDGET: 1918/FY 1919]

prtest regimetot if e(sample) & agenid!=15 & fyear>=1910 & fyear<=1923, by (altbaaint1918)
*
*
*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************



*** PEACETIME PLACEBO PSEUDO-INTERVENTION [1919-1921] ***



*** TABLE SI-1 [REGULAR BUDGET: 1919/FY 1920]

prtest regimereg if e(sample) & agenid!=15 & fyear>=1910 & fyear<=1923, by (altbaaint1919)
*
*** TABLE SI-1 [TOTAL BUDGET: 1919/FY 1920]

prtest regimetot if e(sample) & agenid!=15 & fyear>=1910 & fyear<=1923, by (altbaaint1919)
*
*
*
*** TABLE SI-1 [REGULAR BUDGET: 1920/FY 1921]
prtest regimereg if e(sample) & agenid!=15 & fyear>=1910 & fyear<=1923, by (altbaaint1920)
*
*** TABLE SI-1 [TOTAL BUDGET: 1920/FY 1921]
prtest regimetot if e(sample) & agenid!=15 & fyear>=1910 & fyear<=1923, by (altbaaint1920)
*
*
*
*** TABLE SI-1 [REGULAR BUDGET: 1921/FY 1922]

prtest regimereg if e(sample) & agenid!=15 & fyear>=1910 & fyear<=1923, by (altbaaint1921)
*
*** TABLE SI-1 [TOTAL BUDGET: 1921/FY 1922]

prtest regimetot if e(sample) & agenid!=15 & fyear>=1910 & fyear<=1923, by (altbaaint1921)

*
*
*
*
********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************



*** ACTUAL INTERVENTION [1922/FY 1923] ***



*** TABLE SI-1 [REGULAR BUDGET: 1922/FY 1923]

prtest regimereg if e(sample) & agenid!=15 & fyear>=1910 & fyear<=1923, by (bureauofbudget)
*
*** TABLE SI-1 [TOTAL BUDGET: 1922/FY 1923]

prtest regimetot if e(sample) & agenid!=15 & fyear>=1910 & fyear<=1923, by (bureauofbudget)




log close



